package com.ctgu.edu.service;

import com.ctgu.edu.pojo.Job;
import com.ctgu.edu.pojo.Resume;

import java.util.LinkedList;
import java.util.Map;

public interface JobService {

    //增
    void addJob(Job job);

    //删
    void deleteJobById(Integer jobId);

    //改
    void updateJob(Job job);

    //查
    Job getJobById(Integer jobId);
    /**
     *
     * @param #{startIndex},#{pageSzie}
     * @return
     */
    LinkedList<Job> getJobByClickTimes(Integer startIndex,Integer pageSize);

    //由求职发布者查找Job
    LinkedList<Job> getJobByRecId(Integer recId);

    //模糊查找Job
    LinkedList<Job> getJobLike(String jobKey);

    public Integer getJobNum();

}
